package com.ict.ms.targetLocation.service.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ict.ms.targetLocation.facade.dto.PgParamsInt;
import com.ict.ms.targetLocation.facade.model.IrregularityShip;
import com.ict.ms.targetLocation.facade.model.WarShip;

import java.util.List;


/**
 * Created by chenlong on 2016/6/21.
 */
@Repository
public interface IWarShipDao {
    int searchwarshipinfoCount(@Param("num") int num);
    int searchwarshipinfoCountWithoutMMSI();
    List<WarShip> searchwarshipinfo(@Param("page") PgParamsInt paramsInt);
    List<WarShip> searchwarshipinfoWithoutMMSI(@Param("page") PgParamsInt paramsInt);
    void deletewarshipinfo(@Param("id") int id);


    int searchlllegalshipsCount(@Param("num") int num);
    int searchlllegalshipsCountWithoutMMSI();
    List<IrregularityShip> searchlllegalships(@Param("page") PgParamsInt paramsInt);
    List<IrregularityShip> searchlllegalshipsWithoutMMSI(@Param("page") PgParamsInt paramsInt);
    void deletesensitiveregion(@Param("id") int id);
}
